package com.oak.consumerhystrix80;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
//import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient //开启eureka客户端
@EnableFeignClients // 开启feign
@EnableHystrix // 开启hystrix
//@EnableHystrixDashboard // 开启hystrix图形化界面
//@EnableTurbine
public class ConsumerHystrix80Application {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerHystrix80Application.class, args);
    }

}
